/**
 * 
 */
package ve.com.neometrica.inventario.impl.service;

import java.util.List;

import ve.com.neometrica.inventario.api.dao.DestinoDao;
import ve.com.neometrica.inventario.api.model.Destino;
import ve.com.neometrica.inventario.api.service.DestinoService;

/**
 * @author a.cabrera
 *
 */
public class DestinoServiceImpl implements DestinoService {

	DestinoDao destinoDao;
	/* (non-Javadoc)
	 * @see ve.com.neometrica.inventario.api.service.DestinoService#getAll()
	 */
	@Override
	public List<Destino> getAll() {
		return this.getDestinoDao().getAll();
	}

	/* (non-Javadoc)
	 * @see ve.com.neometrica.inventario.api.service.DestinoService#save(ve.com.neometrica.inventario.api.model.Destino)
	 */
	@Override
	public void save(Destino marca) {
		this.getDestinoDao().save(marca);

	}

	/* (non-Javadoc)
	 * @see ve.com.neometrica.inventario.api.service.DestinoService#getById(java.lang.Integer)
	 */
	@Override
	public Destino getById(Integer id) {
		return this.getDestinoDao().getById(id);
	}

	public DestinoDao getDestinoDao() {
		return destinoDao;
	}

	public void setDestinoDao(DestinoDao destinoDao) {
		this.destinoDao = destinoDao;
	}

}
